using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class StorageLocationTypeConfiguration : EntityTypeConfiguration<StorageLocationType>
    {
        public StorageLocationTypeConfiguration()
        {
            Property(g => g.StorageLocationTypeID).IsRequired();
            Property(g => g.AdditionalContent).IsOptional();
            Property(g => g.Created).IsOptional();
            
            Property(g => g.Modified).IsOptional();
            
            Property(g => g.Depth).IsOptional();
            Property(g => g.HandlingFlag).IsOptional();
            Property(g => g.Height).IsOptional();
            Property(g => g.LiftingCapacity).IsOptional();
            Property(g => g.SltName).IsOptional();
            Property(g => g.Volume).IsOptional();
            Property(g => g.Width).IsOptional();
        }
    }
}
